import { 
  HomeOutlined, 
  ProjectOutlined, 
  SettingOutlined, 
  TeamOutlined, 
  UserOutlined,
  SaveOutlined,
  ReloadOutlined,
  CheckCircleOutlined,
  CloseCircleOutlined,
  DeleteOutlined,
  InfoCircleOutlined,
  UploadOutlined,
  LockOutlined,
  SearchOutlined,
  PlusOutlined,
  EditOutlined,
  EyeOutlined,
  EyeInvisibleOutlined,
  CalendarOutlined,
  ClockCircleOutlined,
  MailOutlined,
  PhoneOutlined,
  LinkOutlined,
  StarOutlined,
  HeartOutlined,
  LikeOutlined,
  DislikeOutlined,
  ShareAltOutlined,
  DownloadOutlined,
  PlayCircleOutlined,
  PauseCircleOutlined,
  StopOutlined,
  ForwardOutlined,
  BackwardOutlined,
  UpOutlined,
  DownOutlined,
  LeftOutlined,
  RightOutlined,
  MenuOutlined,
  CloseOutlined,
  CheckOutlined,
  ExclamationCircleOutlined,
  QuestionCircleOutlined,
  WarningOutlined,
  StopOutlined as StopCircleOutlined,
  SyncOutlined,
  ClearOutlined,
  FilterOutlined,
  SortAscendingOutlined,
  SortDescendingOutlined,
  ExportOutlined,
  ImportOutlined,
  PrinterOutlined,
  CopyOutlined,
  ScissorOutlined,
  SnippetsOutlined,
  UndoOutlined,
  RedoOutlined,
  ZoomInOutlined,
  ZoomOutOutlined,
  FullscreenOutlined,
  FullscreenExitOutlined,
  MinusOutlined,
  PlusCircleOutlined,
  MinusCircleOutlined,
  BookOutlined,
  TagOutlined,
  FlagOutlined,
  GiftOutlined,
  CrownOutlined,
  TrophyOutlined,
  SafetyCertificateOutlined,
  SendOutlined,
  UnlockOutlined,
  KeyOutlined,
  SafetyOutlined,
  FireOutlined,
  BugOutlined,
  CodeOutlined,
  DatabaseOutlined,
  CloudOutlined,
  WifiOutlined,
  CompassOutlined,
  GlobalOutlined,
  EnvironmentOutlined,
  ThunderboltOutlined,
  ToolOutlined,
  AppstoreOutlined,
  BarsOutlined,
  BulbOutlined,
  CalculatorOutlined,
  CameraOutlined,
  CarOutlined,
  CreditCardOutlined,
  DashboardOutlined,
  DesktopOutlined,
  FileOutlined,
  FolderOutlined,
  GiftOutlined as GiftIconOutlined,
  GoldOutlined,
  HddOutlined,
  IdcardOutlined,
  LaptopOutlined,
  MobileOutlined,
  MoneyCollectOutlined,
  NotificationOutlined,
  PictureOutlined,
  ShoppingOutlined,
  TabletOutlined,
  WalletOutlined,
  PaperClipOutlined,
  UserAddOutlined,
  UserDeleteOutlined,
  UsergroupAddOutlined,
  UsergroupDeleteOutlined,
  TruckFilled,
} from "@ant-design/icons";

export const resources = [
    {
      name: "home",
      list: "/home",
      meta: {
        label: "首页",
        icon: <HomeOutlined />,
      },
    },
    {
      name: "project/news",
      list: "/project/news",
      create: "/project/news/create",
      edit: "/project/news/edit/:id",
      show: "/project/news/show/:id",
      meta: {
        canDelete: true,
        parent: "project",
        label: "新闻管理",
      },
    },
    {
      name: "project/category",
      list: "/project/category",
      create: "/project/category/create",
      edit: "/project/category/edit/:id",
      show: "/project/category/show/:id",
      meta: {
        canDelete: true,
        parent: "project",
        label: "分类管理",
      },
    },
    {
      name: "project",
      meta: {
        label: "项目管理",
        icon: <ProjectOutlined />,
      },
    },
    {
      name: "system/user",
      list: "/system/user",
      create: "/system/user/create",
      edit: "/system/user/edit/:id",
      show: "/system/user/show/:id",
      meta: {
        canDelete: true,
        label: "用户管理",
        parent: "system",
      },
    },
    {
      name: "system/role",
      list: "/system/role",
      create: "/system/role/create",
      edit: "/system/role/edit/:id",
      show: "/system/role/show/:id",
      meta: {
        label: "角色管理",
        parent: "system",
      },
    },
    {
      name: "system/menu",
      list: "/system/menu",
      create: "/system/menu/create",
      edit: "/system/menu/edit/:id",
      show: "/system/menu/show/:id",
      meta: {
        label: "菜单管理",
        parent: "system",
      },
    },
    {
      name: "system",
      meta: {
        canDelete: true,
        label: "系统管理",
        icon: <SettingOutlined />,
      },
    },
  ]

// 图标映射
export const IconMap = {
    HomeOutlined: <HomeOutlined />,
    ProjectOutlined: <ProjectOutlined />,
    SettingOutlined: <SettingOutlined />,
    UserOutlined: <UserOutlined />,
    TeamOutlined: <TeamOutlined />,
    SaveOutlined: <SaveOutlined />,
    ReloadOutlined: <ReloadOutlined />,
    CheckCircleOutlined: <CheckCircleOutlined />,
    CloseCircleOutlined: <CloseCircleOutlined />,
    DeleteOutlined: <DeleteOutlined />,
    InfoCircleOutlined: <InfoCircleOutlined />,
    UploadOutlined: <UploadOutlined />,
    LockOutlined: <LockOutlined />,
    SearchOutlined: <SearchOutlined />,
    PlusOutlined: <PlusOutlined />,
    EditOutlined: <EditOutlined />,
    EyeOutlined: <EyeOutlined />,
    EyeInvisibleOutlined: <EyeInvisibleOutlined />,
    CalendarOutlined: <CalendarOutlined />,
    ClockCircleOutlined: <ClockCircleOutlined />,
    MailOutlined: <MailOutlined />,
    PhoneOutlined: <PhoneOutlined />,
    LinkOutlined: <LinkOutlined />,
    StarOutlined: <StarOutlined />,
    HeartOutlined: <HeartOutlined />,
    LikeOutlined: <LikeOutlined />,
    DislikeOutlined: <DislikeOutlined />,
    ShareAltOutlined: <ShareAltOutlined />,
    SendOutlined: <SendOutlined />,
    DownloadOutlined: <DownloadOutlined />,
    PlayCircleOutlined: <PlayCircleOutlined />,
    PauseCircleOutlined: <PauseCircleOutlined />,
    StopOutlined: <StopOutlined />,
    ForwardOutlined: <ForwardOutlined />,
    BackwardOutlined: <BackwardOutlined />,
    UpOutlined: <UpOutlined />,
    DownOutlined: <DownOutlined />,
    LeftOutlined: <LeftOutlined />,
    RightOutlined: <RightOutlined />,
    MenuOutlined: <MenuOutlined />,
    CloseOutlined: <CloseOutlined />,
    CheckOutlined: <CheckOutlined />,
    ExclamationCircleOutlined: <ExclamationCircleOutlined />,
    QuestionCircleOutlined: <QuestionCircleOutlined />,
    WarningOutlined: <WarningOutlined />,
    StopCircleOutlined: <StopCircleOutlined />,
    SyncOutlined: <SyncOutlined />,
    ClearOutlined: <ClearOutlined />,
    FilterOutlined: <FilterOutlined />,
    SortAscendingOutlined: <SortAscendingOutlined />,
    SortDescendingOutlined: <SortDescendingOutlined />,
    ExportOutlined: <ExportOutlined />,
    ImportOutlined: <ImportOutlined />,
    PrinterOutlined: <PrinterOutlined />,
    CopyOutlined: <CopyOutlined />,
    ScissorOutlined: <ScissorOutlined />,
    SnippetsOutlined: <SnippetsOutlined />,
    UndoOutlined: <UndoOutlined />,
    RedoOutlined: <RedoOutlined />,
    ZoomInOutlined: <ZoomInOutlined />,
    ZoomOutOutlined: <ZoomOutOutlined />,
    FullscreenOutlined: <FullscreenOutlined />,
    FullscreenExitOutlined: <FullscreenExitOutlined />,
    MinusOutlined: <MinusOutlined />,
    PlusCircleOutlined: <PlusCircleOutlined />,
    MinusCircleOutlined: <MinusCircleOutlined />,
    BookOutlined: <BookOutlined />,
    TagOutlined: <TagOutlined />,
    FlagOutlined: <FlagOutlined />,
    GiftOutlined: <GiftOutlined />,
    CrownOutlined: <CrownOutlined />,
    TrophyOutlined: <TrophyOutlined />,
    SafetyCertificateOutlined: <SafetyCertificateOutlined />,
    UnlockOutlined: <UnlockOutlined />,
    KeyOutlined: <KeyOutlined />,
    SafetyOutlined: <SafetyOutlined />,
    FireOutlined: <FireOutlined />,
    BugOutlined: <BugOutlined />,
    CodeOutlined: <CodeOutlined />,
    DatabaseOutlined: <DatabaseOutlined />,
    CloudOutlined: <CloudOutlined />,
    WifiOutlined: <WifiOutlined />,
    CompassOutlined: <CompassOutlined />,
    GlobalOutlined: <GlobalOutlined />,
    EnvironmentOutlined: <EnvironmentOutlined />,
    ThunderboltOutlined: <ThunderboltOutlined />,
    ToolOutlined: <ToolOutlined />,
    AppstoreOutlined: <AppstoreOutlined />,
    BarsOutlined: <BarsOutlined />,
    BulbOutlined: <BulbOutlined />,
    CalculatorOutlined: <CalculatorOutlined />,
    CameraOutlined: <CameraOutlined />,
    CarOutlined: <CarOutlined />,
    CreditCardOutlined: <CreditCardOutlined />,
    DashboardOutlined: <DashboardOutlined />,
    DesktopOutlined: <DesktopOutlined />,
    FileOutlined: <FileOutlined />,
    FolderOutlined: <FolderOutlined />,
    GiftIconOutlined: <GiftIconOutlined />,
    GoldOutlined: <GoldOutlined />,
    HddOutlined: <HddOutlined />,
    IdcardOutlined: <IdcardOutlined />,
    LaptopOutlined: <LaptopOutlined />,
    MobileOutlined: <MobileOutlined />,
    MoneyCollectOutlined: <MoneyCollectOutlined />,
    NotificationOutlined: <NotificationOutlined />,
    PictureOutlined: <PictureOutlined />,
    ShoppingOutlined: <ShoppingOutlined />,
    TabletOutlined: <TabletOutlined />,
    WalletOutlined: <WalletOutlined />,
    PaperClipOutlined: <PaperClipOutlined />,
    UserAddOutlined: <UserAddOutlined />,
    UserDeleteOutlined: <UserDeleteOutlined />,
    UsergroupAddOutlined: <UsergroupAddOutlined />,
    UsergroupDeleteOutlined: <UsergroupDeleteOutlined />,
    TruckFilled: <TruckFilled />,
};